package com.product.android.commonInterface.contact;

public class OapUserSimple {

	public String username;
	public String signature;
	public long fid;
	public int sysavatar;
	public int type;
	
	public long workid; //add by yanghq at 20140904 Fix Bug #40134
	
	public OapUserSimple(){}

	@Override
	public boolean equals(Object o) {
		if(o instanceof OapUserSimple){
			OapUserSimple oapSimp = (OapUserSimple)o;
			if(this.fid==oapSimp.fid
					&&this.workid == oapSimp.workid // add by yanghq
					&&this.sysavatar==oapSimp.sysavatar
					&&this.username!=null
					&&this.username.equals(oapSimp.username)					
					&&this.signature!=null
					&&this.signature.equals(oapSimp.signature)){
				return true;
			}
			return false;
		}
		return super.equals(o);
	}

	@Override
	public int hashCode() {
		return super.hashCode();
	}
	
}